﻿<h1>Események</h1>
<br>
<?php

	ob_start(); 
	$this->widget('zii.widgets.CListView', array(
		'dataProvider'=>$dataProvider_all,
		'itemView'=>'_view',
		'summaryText' => '',
	)); 
	$out1 = ob_get_contents();
	ob_end_clean();

	ob_start(); 
	$this->widget('zii.widgets.CListView', array(
		'dataProvider'=>$dataProvider_usrs,
		'itemView'=>'_view_usrs',
		'summaryText' => '',
	)); 
	$out2 = ob_get_contents();
	ob_end_clean();


	$this->widget('bootstrap.widgets.TbTabs', array(
	'type'=>'tabs', // 'tabs' or 'pills'
	'tabs'=>array(
		array('label'=>'Saját eseményeim', 'content'=>$out2, 'active'=>true),
		array('label'=>'Összes', 'content'=>$out1),
			)
	));
	
?>
